package com.alibaba.algo.enums;

import lombok.Getter;

/**
 * @ClassName: ResourceTypeEnum
 * @Description: 操作类型枚举类
 * @Author: wugongzi
 * @Date: 2021/12/02 16:07
 * @Version: 1.0
 */
@Getter
public enum OperateTypeEnum {
    INSERT(1, "新增"),
    UPDATE(2, "修改"),
    DELETE(3, "删除"),
    INSERT_OR_UPDATE(4,"新增或修改"),
    ;

    /**
     * 编号
     */
    private Integer code;

    /**
     * 描述
     */
    private String dsec;

    OperateTypeEnum(Integer code, String dsec) {
        this.code = code;
        this.dsec = dsec;
    }
}
